package com.qn.visitor.write;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
@Component
@RefreshScope
public class WriteProperties {
    /**
     * 数据写入方式（Mysql、Kafka）
     * 默认Mysql
     */
    @Value("${qingniu.Write.type}")
    private String writeType;

    public String getWriteType() {
        return writeType;
    }
    public void setWriteType(String writeType) {
        this.writeType = writeType;
    }
}
